package homework;

public class GirlFriend {
   private String name;
   private int height;
   private int weight;

    public GirlFriend() {
    }

    public GirlFriend(String name, int height, int weight) {
        this.name = name;
        this.height = height;
        this.weight = weight;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
    public void show(){
        System.out.println("我的女朋友"+name+"，身高"+height+"体重"+weight);
    }
    public void cook(){
        System.out.println(name+"帮我做饭");
    }
    public void wash(){
        System.out.println(name+"帮我洗衣服");
    }
}
